define(["jqform","layuiall","baidueditor"], function (jqform,layui,UE) {
    var Controller = {
        index:function () {
            jqform.init()
        },
        addquest: function () {
            UE.getEditor('container');
            UE.getEditor('option');
            UE.getEditor('parse');
            jqform.init()
        },
        editquest:function () {
            UE.getEditor('container');
            UE.getEditor('option');
            UE.getEditor('parse');
            jqform.init()
        },
    };
    return Controller;
});